home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
program
/
ddj0897.zip
/
CCDBMS.ZIP
/
ORACLE.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1997-03-18
|
2KB
|
62 lines
// =================================================================
// Oracle.cpp
// =================================================================
// Harold Kasperink / John Dekker
// Dr. Dobb's Journal 1997
// =================================================================
// This file should contain the code that you have generated
// with an embedded C/C++ compiler for SQL
// =================================================================
#include "oracle.h"
////////////////////////////////////////////////////////////////////
// DB_Connect
////////////////////////////////////////////////////////////////////
// Connect with database session to oracle
// with username/password@server in pszUsr
////////////////////////////////////////////////////////////////////
long DB_Connect(const char *pszUsr)
{
return 0;
}
////////////////////////////////////////////////////////////////////
// DB_Disconnect
////////////////////////////////////////////////////////////////////
// Disconnect from oracle
////////////////////////////////////////////////////////////////////
long DB_Disconnect()
{
return 0;
}
////////////////////////////////////////////////////////////////////
// DB_Commit
////////////////////////////////////////////////////////////////////
// Commit transaction for database session
////////////////////////////////////////////////////////////////////
long DB_Commit(void *pCmd)
{
return 0;
}
////////////////////////////////////////////////////////////////////
// DB_Rollback
////////////////////////////////////////////////////////////////////
// Rollback transaction for database session
////////////////////////////////////////////////////////////////////
long DB_Rollback(void *pCmd)
{
return 0;
}
////////////////////////////////////////////////////////////////////
// DB_FindPerson
////////////////////////////////////////////////////////////////////
// Find a if person exists in the database
////////////////////////////////////////////////////////////////////
long DB_FindPerson(void *pCmd, char *pszFirstName, char *pszLastName)
{
return 0;
}